package com.dubbo.provider;

import com.dubbo.api.UserService;

import java.util.Map;
import java.util.HashMap;

public class UserServiceImpl implements UserService {
    public Map<String, Object> getUserInfo(int id) {
        Map<String,Object> my_map = new HashMap<String, Object>();
        my_map.put("name","cfy");
        my_map.put("sex","boy");
        my_map.put("id",id);
        return my_map;
    }
}
